package com.qs.auto.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;
import java.util.Date;


/**
 * The persistent class for the auto_driver_detail database table.
 * 
 */
@Entity
@Table(name="auto_driver_detail")
public class AutoDriverDetail implements Serializable {
	private static final long serialVersionUID = 1L;
	private String driverId;
	private String createdBy;
	private Date createdDt;
	private String driverLicenseId;
	private int driverLicenseIssuedAt;
	private int driverLicenseIssuedAtAge;
	private String driverLicenseStatus;
	private String isDrivingIncidentRaised;
	private BigInteger personId;
	private String updatedBy;
	private Date updatedDt;

    public AutoDriverDetail() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="DRIVER_ID")
	public String getDriverId() {
		return this.driverId;
	}

	public void setDriverId(String driverId) {
		this.driverId = driverId;
	}


	@Column(name="CREATED_BY")
	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="CREATED_DT")
	public Date getCreatedDt() {
		return this.createdDt;
	}

	public void setCreatedDt(Date createdDt) {
		this.createdDt = createdDt;
	}


	@Column(name="DRIVER_LICENSE_ID")
	public String getDriverLicenseId() {
		return this.driverLicenseId;
	}

	public void setDriverLicenseId(String driverLicenseId) {
		this.driverLicenseId = driverLicenseId;
	}


	@Column(name="DRIVER_LICENSE_ISSUED_AT")
	public int getDriverLicenseIssuedAt() {
		return this.driverLicenseIssuedAt;
	}

	public void setDriverLicenseIssuedAt(int driverLicenseIssuedAt) {
		this.driverLicenseIssuedAt = driverLicenseIssuedAt;
	}


	@Column(name="DRIVER_LICENSE_ISSUED_AT_AGE")
	public int getDriverLicenseIssuedAtAge() {
		return this.driverLicenseIssuedAtAge;
	}

	public void setDriverLicenseIssuedAtAge(int driverLicenseIssuedAtAge) {
		this.driverLicenseIssuedAtAge = driverLicenseIssuedAtAge;
	}


	@Column(name="DRIVER_LICENSE_STATUS")
	public String getDriverLicenseStatus() {
		return this.driverLicenseStatus;
	}

	public void setDriverLicenseStatus(String driverLicenseStatus) {
		this.driverLicenseStatus = driverLicenseStatus;
	}


	@Column(name="IS_DRIVING_INCIDENT_RAISED")
	public String getIsDrivingIncidentRaised() {
		return this.isDrivingIncidentRaised;
	}

	public void setIsDrivingIncidentRaised(String isDrivingIncidentRaised) {
		this.isDrivingIncidentRaised = isDrivingIncidentRaised;
	}


	@Column(name="PERSON_ID")
	public BigInteger getPersonId() {
		return this.personId;
	}

	public void setPersonId(BigInteger personId) {
		this.personId = personId;
	}


	@Column(name="UPDATED_BY")
	public String getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="UPDATED_DT")
	public Date getUpdatedDt() {
		return this.updatedDt;
	}

	public void setUpdatedDt(Date updatedDt) {
		this.updatedDt = updatedDt;
	}

}